Skip to content

Commit

Permalink
Merge pull request #6 from jwpconsulting/justus/2024-02-19-resolve-im…
Browse files Browse the repository at this point in the history
…port-issue

Resolve type and import issues for TypeScript
  • Loading branch information
paolotiu authored Mar 8, 2024
2 parents f1ec89e + ad22d63 commit 893ee30
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{json,svelte,ts,js}]
indent_style = space
indent_size = 2

[*.css]
indent_style = tab
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MIT License

Copyright (c) 2023-2024 Justus Perlwitz
Copyright (c) 2023 paolotiu

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@
"svelte": "dist/index.js",
"exports": {
".": {
"svelte": "./dist/index.js"
"svelte": "./dist/index.js",
"types": "./dist/ts/index.d.ts"
}
},
"module": "dist/index.mjs",
"main": "dist/index.umd.js",
"types": "dist/ts/index.d.ts",
"author": "Paolo Tiu <[email protected]>",
"contributors": [
{"name": "Paolo Tiu",
"email": "[email protected]"
},
{"name": "Justus Perlwitz",
"email": "[email protected]"
}
],
"license": "MIT",
"version": "1.2.5",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/AvatarPixel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
>
<mask
id={maskId}
mask-type="alpha"
style:mask-type="alpha"
maskUnits="userSpaceOnUse"
x={0}
y={0}
Expand Down

0 comments on commit 893ee30

Please sign in to comment.