Skip to content

Commit

Permalink
fixed: each type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Aug 5, 2021
1 parent 8e73ccf commit 6779e3b
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 61 deletions.
2 changes: 1 addition & 1 deletion dom-bindings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface BaseBindingData<Scope = any> {

export interface EachBindingData<Scope = any> extends BaseBindingData<Scope> {
itemName: string
indexName?: number
indexName?: number | null
template: TemplateChunk<Scope>
getKey?: ((scope: Scope) => any) | null
condition?: ((scope: Scope) => any) | null
Expand Down
107 changes: 55 additions & 52 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@
"benchmark": "^2.1.4",
"chai": "^4.3.4",
"coveralls": "^3.1.1",
"eslint": "^7.30.0",
"eslint": "^7.32.0",
"eslint-config-riot": "^3.0.0",
"esm": "^3.2.25",
"jsdom": "^16.6.0",
"jsdom": "^16.7.0",
"jsdom-global": "3.0.2",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"rollup": "^2.53.1",
"rollup": "^2.56.0",
"rollup-plugin-alias": "^2.2.0",
"rollup-plugin-node-resolve": "^5.2.0",
"sinon": "^11.1.1",
"sinon": "^11.1.2",
"sinon-chai": "^3.7.0",
"typescript": "^4.3.5"
},
Expand Down
5 changes: 1 addition & 4 deletions test/typing.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
template,
ExpressionType,
} from '../'
import {ExpressionType, template,} from '../'

template('<p>Hello</p>', [{
selector: 'p',
Expand Down

0 comments on commit 6779e3b

Please sign in to comment.