mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 12:37:16 +08:00
moonjs: Fix test (#29100)
This commit is contained in:
@@ -96,13 +96,7 @@ Moon.config.keycodes({
|
||||
|
||||
// 'data' needs to be a function when creating components.
|
||||
// $ExpectError
|
||||
Moon.component('broken1', {
|
||||
el: testHTMLElement,
|
||||
data: {
|
||||
foo: 100,
|
||||
bar: 200,
|
||||
},
|
||||
});
|
||||
Moon.component('broken1', { el: testHTMLElement, data: { foo: 100, bar: 200 } });
|
||||
|
||||
// Misspelled prop
|
||||
Moon.component('broken2', {
|
||||
|
||||
Reference in New Issue
Block a user