Skip to content

Commit 0f0588a

Browse files
authored
Also export internalProperty as state (lit#1162)
For future compat
1 parent 3d0b69b commit 0f0588a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib/decorators.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,3 +482,9 @@ export function queryAssignedNodes(
482482
standardQuery(descriptor, protoOrDescriptor as ClassElement);
483483
};
484484
}
485+
486+
487+
/**
488+
* The future-compatible name for the internalProperty decorator.
489+
*/
490+
export const state = internalProperty;

0 commit comments

Comments
 (0)