mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
12 lines
176 B
TypeScript
12 lines
176 B
TypeScript
|
|
|
|
import ko = require("knockout");
|
|
|
|
var myArray = ko.observableArray([1, 2, 3]);
|
|
|
|
class MyViewModel {
|
|
name = ko.observable("Jeff");
|
|
}
|
|
|
|
ko.applyBindings(new MyViewModel());
|