node.js - DefinitelyTyped for systemjs-builder -
is there definitelytyped systemjs-builder? https://github.com/systemjs/builder
because systemjs.d.ts not seem include it, , "cannot find module" error when try import it:
import builder = require('systemjs-builder');
and couldn't find systemjs-builder.d.ts file on internet.
if there isn't definitelytyped library, how can use typescript?
any profoundly appreciated!
this 1 https://github.com/definitelytyped/definitelytyped/blob/master/systemjs/systemjs.d.ts should includes type definifions builder.
edit: seems there no typings avalible (maybe use js). when dont want create typings can put in systemjs-builder.d.ts
:
declare module "systemjs-builder" { var builder: any; export = builder; }
and write /// <reference path="../yourpath/systemjs-builder.d.ts" />
in main typings.
Comments
Post a Comment