Skip to content

Commit

Permalink
update exported type
Browse files Browse the repository at this point in the history
  • Loading branch information
rawpixel-vincent committed Mar 31, 2024
1 parent fd75951 commit 9f0cbb0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "string-literal-list",
"version": "1.21.0",
"version": "1.22.0",
"description": "an array for string literal",
"main": "stringList.cjs",
"module": "stringList.js",
Expand Down
13 changes: 12 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@
import { ArrayInPlaceMutation } from '../StringLiteralList.js';

declare global {
export namespace StringLiteralList {}
export namespace StringLiteralList {
// @ts-ignore
export * as tuple from './tuple.js';
// @ts-ignore
export * as list from './list.js';
// @ts-ignore
export * as record from './record.js';
// @ts-ignore
export * as string from './string.js';
// @ts-ignore
export * as generic from './generic.js';
}

export namespace specs {
/**
Expand Down

0 comments on commit 9f0cbb0

Please sign in to comment.