Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit 1af0619

Browse files
committed
Add typings for standalone.js
1 parent b38394e commit 1af0619

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"author": "CP Clermont <@charlespwd>",
77
"license": "MIT",
88
"main": "dist/index.js",
9+
"types": "dist/index.d.ts",
910
"homepage": "https://github.com/shopify/prettier-plugin-liquid#readme",
1011
"publishConfig": {
1112
"access": "public",
@@ -17,7 +18,9 @@
1718
"files": [
1819
"grammar/*",
1920
"dist/**/*.js",
21+
"dist/**/*.ts",
2022
"standalone.js",
23+
"standalone.d.ts",
2124
"standalone.js.LICENSE.txt",
2225
"ThirdPartyNotices.txt"
2326
],

standalone.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import * as plugin from './dist/index';
2+
export = plugin

0 commit comments

Comments
 (0)