From 9f0cbb028d9ddd2b9381d0ac38ede3fe07c84b77 Mon Sep 17 00:00:00 2001 From: rawpixel-vincent Date: Sun, 31 Mar 2024 21:25:00 +0700 Subject: [PATCH] update exported type --- package-lock.json | 4 ++-- package.json | 2 +- types/index.d.ts | 13 ++++++++++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2ff7cbd..20fd581 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "string-literal-list", - "version": "1.21.0", + "version": "1.22.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "string-literal-list", - "version": "1.21.0", + "version": "1.22.0", "license": "MIT", "devDependencies": { "@types/node": "latest", diff --git a/package.json b/package.json index f684e8b..1f2085b 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/types/index.d.ts b/types/index.d.ts index 5a705f0..e6168a4 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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 { /**