From db01d0b29493f5791bb8e1af97055f6290c4f97e Mon Sep 17 00:00:00 2001 From: netsgnut <284779+netsgnut@users.noreply.github.com> Date: Sun, 27 Jun 2021 19:47:48 +0800 Subject: [PATCH] Add TypeScript type declarations --- index.d.ts | 4 ++++ package.json | 1 + 2 files changed, 5 insertions(+) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..4e9fa8c --- /dev/null +++ b/index.d.ts @@ -0,0 +1,4 @@ +export var objects: string[]; +export var predicates: string[]; +export var teams: string[]; +export var collections: string[]; diff --git a/package.json b/package.json index ad65a33..17e0a57 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "The Glitch word list, packaged into an NPM module for easy use.", "author": "Glitch ", "main": "index.js", + "types": "index.d.ts", "scripts": { "test": "ava test.js", "build": "node build.js",