##// END OF EJS Templates
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods

File last commit:

r28:b88fac0e76c0 v1.0.0-rc13 default
r30:a46488b209e8 v1.0.0-rc14 default
Show More
dummy.ts
17 lines | 432 B | video/mp2t | TypeScriptLexer
import { test } from "./TestTraits";
import { delay } from "@implab/core-amd/safe";
import { assert } from "chai";
import css = require("@implab/djx/css!my.css");
test("simple", (ok, fail, log) => {
setTimeout(() => {
// end should be called after the last assertion
ok("async assert");
}, 100);
});
test("simple", async (log, fail) => {
await delay(0);
assert.ok(true); // everything is fine
});