Skip to content

Commit

Permalink
ts) jsx-constructor properties
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipc committed Jan 30, 2025
1 parent 83c2337 commit 2127388
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/binding.component/spec/componentBindingBehaviors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ describe('Components: Component binding', function () {
}]
}]
}
new JsxObserver(jsx, testNode, null, null, null)
new JsxObserver(jsx, testNode)

class ViewModel extends components.ComponentABC {
static get template () {
Expand Down Expand Up @@ -1355,7 +1355,7 @@ describe('Components: Component binding', function () {
}]
}

new JsxObserver(jsx, testNode, null, null, null)
new JsxObserver(jsx, testNode)

class ViewModel extends components.ComponentABC {
static get template () {
Expand Down Expand Up @@ -1406,7 +1406,7 @@ describe('Components: Component binding', function () {
}]
}

const jo = new JsxObserver(jsx, testNode, null, null, null)
const jo = new JsxObserver(jsx, testNode)

class ViewModel extends components.ComponentABC {
static get template () {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils.jsx/src/JsxObserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class JsxObserver extends LifeCycle {
/**
* @param {any} jsxOrObservable take a long list of permutations
*/
constructor (jsxOrObservable: any, parentNode:Node, insertBefore:Node | null = null, xmlns: any, noInitialBinding?: boolean | null) {
constructor (jsxOrObservable: any, parentNode:Node, insertBefore:Node | null = null, xmlns?: any, noInitialBinding?: boolean | null) {
super()

const parentNodeIsComment = parentNode.nodeType === 8
Expand Down

0 comments on commit 2127388

Please sign in to comment.