Skip to content

Commit

Permalink
chore: publish types
Browse files Browse the repository at this point in the history
  • Loading branch information
thepassle committed Apr 3, 2024
1 parent ce229c7 commit 8213052
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
16 changes: 4 additions & 12 deletions packages/core/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,14 @@ const noSelfClosing = t => `Custom elements cannot be self-closing: "${t}"`;
* @returns {HtmlResult}
*/
export function* html(statics, ...dynamics) {
/**
* @type {TEXT | COMPONENT | TAG_OPEN}
*/
/** @type {TEXT | COMPONENT | TAG_OPEN} */
let MODE = TEXT;
/**
* @type {NONE | PROP | CHILDREN}
*/
/** @type {NONE | PROP | CHILDREN} */
let COMPONENT_MODE = NONE;
/**
* @type {SET_PROP | PROP_VAL | NONE}
*/
/** @type {SET_PROP | PROP_VAL | NONE} */
let PROP_MODE = NONE;

/**
* @type {Array<Component | CustomElement>}
*/
/** @type {Array<Component | CustomElement>} */
const componentStack = [];

/**
Expand Down
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swtl",
"version": "0.3.3",
"version": "0.3.4",
"description": "",
"main": "index.js",
"type": "module",
Expand Down Expand Up @@ -57,6 +57,7 @@
"index.js",
"slot.js",
"ssr/*",
"dist-types/*",
"README.md"
],
"keywords": [],
Expand Down

0 comments on commit 8213052

Please sign in to comment.