Skip to content

Commit 1ad2bda

Browse files
committed
Allow usage of all primitives.
1 parent a61aef0 commit 1ad2bda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simple-tsx",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "A simple way to write tsx files. No babel required!",
55
"main": "dist/index.js",
66
"type": "commonjs",

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type AttributeValueType = string | ((event: Event) => unknown);
1+
export type AttributeValueType = string | number | symbol | bigint | ((event: Event) => unknown);
22

33
export type AttributesType = {
44
[key: string]: AttributeValueType;

0 commit comments

Comments
 (0)