Skip to content

Commit

Permalink
fixes types in esm projects
Browse files Browse the repository at this point in the history
  • Loading branch information
netbonus committed Nov 7, 2024
1 parent 48b6818 commit 1a8b2c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"exports": {
".": {
"import": "./dist/gridplus-sdk.es.js",
"require": "./dist/gridplus-sdk.umd.js"
"require": "./dist/gridplus-sdk.umd.js",
"types": "./dist/index.d.ts"
}
},
"files": [
Expand Down
1 change: 1 addition & 0 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const parseLattice1Response = function (r: string): {
const parsed: {
errorMessage: string | null;
data: Buffer | null;
responseCode?: number;
} = {
errorMessage: null,
data: null,
Expand Down

0 comments on commit 1a8b2c0

Please sign in to comment.