Skip to content

Releases: types/_generator-typings

Use typings 0.7

08 Mar 07:43
Compare
Choose a tag to compare

Update npm run build to use latest typings bundle syntax.

Added ambient module (ambient top-level namespace declaration) support.

Breaking Changes

In typings 0.7, the syntax for typings bundle has changed. As a result, repository created by generator-typings prior to 0.9 need to make the following adjustment in order to work with the latest typings:

  • In package.json, change the "build" (or "bundle" if it was generated with an older version of generator-typings) script from "typings bundle . -o bundle.d.ts" to "typings bundle -o test"
  • In test/test.ts, change the reference from /// <reference path="../bundle.d.ts" /> to /// <reference path="./main.d.ts" />

Feel free to open issues if you have any question.

Update tslint

06 Mar 06:32
Compare
Choose a tag to compare

Update the tslint file to fix some minor issue and disable warning about internal module for global augmentation.

Simplify package.json

05 Mar 09:22
Compare
Choose a tag to compare

Trim down package.json. As a result, one question is eliminated!

Change bundle to build

04 Mar 23:30
Compare
Choose a tag to compare

For build is better in this context.

Add tsd hint

04 Mar 06:54
Compare
Choose a tag to compare

Add hint on using tsd to download existing typed files from DefinitelyTyped.

v0.7.3

01 Mar 22:12
Compare
Choose a tag to compare
  • Update dependencies
  • From now on only build on stable node

v0.7.2

02 Mar 02:03
Compare
Choose a tag to compare

v0.5.0

02 Mar 02:11
Compare
Choose a tag to compare

Add .vscode/settings.json to lock in TypeScript version used.

v0.7.1

02 Mar 02:04
Compare
Choose a tag to compare

Add isNpm question to skip npm install <source>

v0.7.0

02 Mar 02:07
Compare
Choose a tag to compare
  • Install source package
  • Now test will use typings bundle and ts-node to actually run the test(s)
  • Entry file is now index.d.ts instead of main.d.ts