Skip to content

Instantly share code, notes, and snippets.

@josemarluedke
Created March 5, 2019 00:47
Show Gist options
  • Save josemarluedke/195071140e82ce028ce6abb8745a9ca3 to your computer and use it in GitHub Desktop.
Save josemarluedke/195071140e82ce028ce6abb8745a9ca3 to your computer and use it in GitHub Desktop.
node_modules/@glimmer/runtime/dist/types/lib/vm/append.d.ts:121:5 - error TS2416: Property 'scope' in type 'VM<C>' is not assignable to the same property in base type 'InternalVM<C>'.
Type '() => Scope<JitOrAotBlock>' is not assignable to type '() => Scope<C>'.
Type 'Scope<JitOrAotBlock>' is not assignable to type 'Scope<C>'.
Type 'JitOrAotBlock' is not assignable to type 'C'.
Type 'number' is not assignable to type 'C'.
121 scope(): Scope<JitOrAotBlock>;
~~~~~
node_modules/@glimmer/runtime/dist/types/lib/vm/append.d.ts:143:22 - error TS2420: Class 'AotVM' incorrectly implements interface 'InternalVM<number>'.
Types of property 'scope' are incompatible.
Type '() => Scope<JitOrAotBlock>' is not assignable to type '() => Scope<number>'.
Type 'Scope<JitOrAotBlock>' is not assignable to type 'Scope<number>'.
Type 'JitOrAotBlock' is not assignable to type 'number'.
Type 'CompilableTemplate<BlockSymbolTable>' is not assignable to type 'number'.
143 export declare class AotVM extends VM<number> implements InternalVM<number> {
~~~~~
node_modules/@glimmer/runtime/dist/types/lib/vm/append.d.ts:150:22 - error TS2420: Class 'JitVM' incorrectly implements interface 'InternalJitVM'.
Types of property 'scope' are incompatible.
Type '() => Scope<JitOrAotBlock>' is not assignable to type '() => Scope<CompilableTemplate<BlockSymbolTable>>'.
Type 'Scope<JitOrAotBlock>' is not assignable to type 'Scope<CompilableTemplate<BlockSymbolTable>>'.
Type 'JitOrAotBlock' is not assignable to type 'CompilableTemplate<BlockSymbolTable>'.
Type 'number' is not assignable to type 'CompilableTemplate<BlockSymbolTable>'.
150 export declare class JitVM extends VM<CompilableBlock> implements InternalJitVM {
~~~~~
node_modules/@glimmer/interfaces/dist/types/lib/components/component-manager.d.ts:173:28 - error TS2744: Type parameter defaults can only reference previously declared type parameters.
173 ComponentInstanceState = ComponentInstanceState,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment