Skip to content

Commit 295ee2a

Browse files
authored
fix: Publish types for workspace-minimap (#2122)
* fix: Publish types for workspace-minimap * Changes made in response to PR comments * Reverting changes to theme-hackermode package-lock.json
1 parent a174ab3 commit 295ee2a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

plugins/workspace-minimap/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"test": "blockly-scripts test"
1313
},
1414
"main": "./dist/index.js",
15+
"types": "./dist/index.d.ts",
1516
"unpkg": "./dist/index.js",
1617
"author": "Blockly Team",
1718
"keywords": [

plugins/workspace-minimap/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
// Point at the local Blockly. See #1934. Remove if we add hoisting.
1313
"paths": {
1414
"blockly/*": ["node_modules/blockly/*"]
15-
}
15+
},
16+
"declaration": true,
17+
"declarationMap": true
1618
},
1719
// NOTE: `test/**/*` is automatically included in `blockly-scripts start`.
1820
// Only src matters for production builds.

0 commit comments

Comments
 (0)