Comparing version 0.7.1 to 0.7.2
declare type Primitive = boolean | number | string; | ||
declare class Noliter<T extends keyof HTMLElementTagNameMap, H extends HTMLElementTagNameMap[T]> { | ||
declare type TagNameKeys = keyof HTMLElementTagNameMap; | ||
declare class Noliter<T extends TagNameKeys, H extends HTMLElementTagNameMap[T]> { | ||
dom: H; | ||
constructor(tagName: T); | ||
add(...children: (string | Node | Noliter<T, H>)[]): this; | ||
add(...children: (string | Node | Noliter<TagNameKeys, HTMLElementTagNameMap[TagNameKeys]>)[]): this; | ||
ga(attributeName: string): string | null; | ||
@@ -7,0 +8,0 @@ sa(...attributes: Primitive[]): this; |
{ | ||
"name": "noliter", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Write code with no literal and get tiny bundle", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,0 +0,0 @@ [](https://github.com/TroyTae/noliter/actions?query=workflow%3Anoliter) |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
243
29007