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
When using this plugin from typescript in VS, how should I enable this import:
import { autoinject } from 'aurelia-property-injection';
The official aurelia modules has a typings.json and *.d.ts files that declares the module.
Right now I've added this to my own *.d.ts file:
declare module 'aurelia-property-injection' {
export function autoinject(potentialTarget?: any, potentialKey?: any): any;
}
To make my usage compile.
The text was updated successfully, but these errors were encountered:
I still have "aurelia-property-injection": "github:heruan/aurelia-property-injection", in my typings.json. But if I point that to devaur/aurelia-property-injection it doesn't work. Not sure how I should be importing typings. The only thing I've found that works is github:devaur/aurelia-property-injection/dist/main/index.d.ts but that's not exactly ideal.
When using this plugin from typescript in VS, how should I enable this import:
import { autoinject } from 'aurelia-property-injection';
The official aurelia modules has a typings.json and *.d.ts files that declares the module.
Right now I've added this to my own *.d.ts file:
declare module 'aurelia-property-injection' {
export function autoinject(potentialTarget?: any, potentialKey?: any): any;
}
To make my usage compile.
The text was updated successfully, but these errors were encountered: