Skip to content

Commit

Permalink
fix: fix scoped element types for angular (open-wc#2751)
Browse files Browse the repository at this point in the history
* fix: fix scoped element types for angular

* chore: changeset
  • Loading branch information
thepassle authored Nov 22, 2023
1 parent 7ae8ebf commit 3e6fff7
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 69 deletions.
5 changes: 5 additions & 0 deletions .changeset/twelve-boats-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@open-wc/scoped-elements': patch
---

fix types for angular
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ coverage/

## generated types
packages/*/types
packages/*/*.d.ts*
tsconfig.tsbuildinfo

## npm
Expand Down
9 changes: 0 additions & 9 deletions packages/scoped-elements/dist-types/html-element.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/scoped-elements/dist-types/html-element.d.ts.map

This file was deleted.

23 changes: 0 additions & 23 deletions packages/scoped-elements/dist-types/lit-element.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/scoped-elements/dist-types/lit-element.d.ts.map

This file was deleted.

29 changes: 0 additions & 29 deletions packages/scoped-elements/dist-types/types.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/scoped-elements/dist-types/types.d.ts.map

This file was deleted.

7 changes: 4 additions & 3 deletions packages/scoped-elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"type": "module",
"exports": {
"./html-element.js": {
"types": "./dist-types/html-element.d.ts",
"types": "./html-element.d.ts",
"default": "./html-element.js"
},
"./lit-element.js": {
"types": "./dist-types/lit-element.d.ts",
"types": "./lit-element.d.ts",
"default": "./lit-element.js"
},
"./package.json": "./package.json"
Expand All @@ -30,7 +30,8 @@
"test": "cd ../../ && npm run test:web --group scoped-elements"
},
"files": [
"dist-types/*.d.ts",
"*.d.ts",
"*.d.ts.map",
"html-element.js",
"lit-element.js",
"MIGRATION.md",
Expand Down
2 changes: 1 addition & 1 deletion packages/scoped-elements/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"extends": "../../tsconfig.browser-base.json",
"compilerOptions": {
"module": "NodeNext",
"outDir": "./dist-types",
"outDir": "./",
"rootDir": ".",
"composite": true,
"allowJs": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/scoped-elements/tsconfig.override.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"strict": true,
"alwaysStrict": true,
"skipLibCheck": true,
"outDir": "./dist-types"
"outDir": "./"
},
"include": [
"lit-element.js",
Expand Down

0 comments on commit 3e6fff7

Please sign in to comment.