You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2021. It is now read-only.
If you turn on noImplicitAny in tsconfig, you get a bunch of error TS7016: Could not find a declaration file for module... errors. Turns out, the typings references in a bunch of the glimmer packages are broken (fix pr). If you fix the typings references, then you get a bunch of type errors.
A sample typescript error:
ERROR in /Users/akusuma/workspace/opensource/hello-glimmer/node_modules/@glimmer/component/dist/types/component-manager.d.ts
(7,22): error TS2420: Class 'ComponentManager' incorrectly implements interface 'ComponentManager<Component>'.
Types of property 'prepareArgs' are incompatible.
Type '(definition: ComponentDefinition, args: EvaluatedArgs) => EvaluatedArgs' is not assignable to type '(definition: ComponentDefinition<Component>, args: EvaluatedArgs, dynamicScope: DynamicScope) => ...'.
Types of parameters 'definition' and 'definition' are incompatible.
Type 'ComponentDefinition<Component>' is not assignable to type 'ComponentDefinition'.
Types of property 'manager' are incompatible.
Type 'ComponentManager<Component>' is not assignable to type 'ComponentManager'.
Property 'env' is missing in type 'ComponentManager<Component>'.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you turn on
noImplicitAny
intsconfig
, you get a bunch oferror TS7016: Could not find a declaration file for module...
errors. Turns out, thetypings
references in a bunch of the glimmer packages are broken (fix pr). If you fix the typings references, then you get a bunch of type errors.A sample typescript error:
The text was updated successfully, but these errors were encountered: