From 79559bd781baa5b2465ae7a34c48f7473d9db5e0 Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Sun, 28 Apr 2024 11:22:56 -0600 Subject: [PATCH] Add TMixin type assertion for the export statement, see https://github.com/phetsims/tasks/issues/1132 --- js/nodes/Leaf.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/nodes/Leaf.ts b/js/nodes/Leaf.ts index 1ccc83018..10f907396 100644 --- a/js/nodes/Leaf.ts +++ b/js/nodes/Leaf.ts @@ -10,6 +10,7 @@ import { Node, scenery } from '../imports.js'; import memoize from '../../../phet-core/js/memoize.js'; import IntentionalAny from '../../../phet-core/js/types/IntentionalAny.js'; import Constructor from '../../../phet-core/js/types/Constructor.js'; +import TMixin from '../../../phet-core/js/types/TMixin.js'; const Leaf = memoize( >( type: SuperType ) => { @@ -30,4 +31,4 @@ const Leaf = memoize( >( type: SuperType ) = scenery.register( 'Leaf', Leaf ); -export default Leaf; \ No newline at end of file +export default Leaf as TMixin; \ No newline at end of file