Skip to content

Commit 4999c8f

Browse files
committed
fix: update getNodeId method to return string | undefined
1 parent 566c661 commit 4999c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/core/sdk.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface ISdk {
2929
addTemplateToComponent<C>(template: Template<C>, componentName: string): void
3030
setState<T>(key: string, value: T): void
3131
getState<T>(key: string): T
32-
getNodeId(): string
32+
getNodeId(): string | undefined
3333
loadTemplate(templateType: string): Promise<void>
3434
getExpandedTileConfig(): ExpandedTileOptions
3535
getInlineTileConfig(): InlineTileOptions

0 commit comments

Comments
 (0)