dts-dom icon indicating copy to clipboard operation
dts-dom copied to clipboard

A DOM library for generating TypeScript declaration (.d.ts) files

Results 22 dts-dom issues
Sort by recently updated
recently updated
newest added

I'm trying to transform an API response into some type definitions. Unfortunately, some argument and property types are already strings in JSDoc notation, e.g. `Array.|Buffer`. I'm currently converting that to...

Adds support to create an array as tuple.

The following ```ts const intfA = dom.create.interface('A'); const intfB = dom.create.interface('B'); intfB.baseTypes.push(intfA); const foo = dom.create.namespace('Foo'); const bar = dom.create.namespace('Bar'); foo.members.push(intfB); foo.members.push(bar); bar.members.push(intfA); console.log(dom.emit(foo)); ``` generates: ```ts declare namespace Foo...

enhancement
help wanted

Im using the latest version of this package (3.6.0) but the published version of this package is missing functions, e. g. interfaces does not support type parameters (left: repo version,...

Bumps [minimist](https://github.com/minimistjs/minimist), [mkdirp](https://github.com/isaacs/node-mkdirp) and [handlebars](https://github.com/wycats/handlebars.js). These dependencies needed to be updated together. Updates `minimist` from 1.2.0 to 1.2.8 Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long...

dependencies

`SPACE` missing in function `writeInterface()` before keyword `extends`.

Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependencies [json5](https://github.com/json5/json5), [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) and [ts-jest](https://github.com/kulshekhar/ts-jest). These dependencies need to be updated together. Updates `json5` from 0.5.1 to 2.2.3 Release notes Sourced from json5's...

dependencies

Bumps [qs](https://github.com/ljharb/qs) and [qs](https://github.com/ljharb/qs). These dependencies needed to be updated together. Updates `qs` from 6.5.1 to 6.5.3 Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix]...

dependencies