mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
227 B
TypeScript
12 lines
227 B
TypeScript
/// <reference path="./knockout.d.ts" />
|
||
|
||
import ko = require("knockout");
|
||
|
||
var myArray = ko.observableArray([1, 2, 3]);
|
||
|
||
class MyViewModel {
|
||
name = ko.observable("Jeff");
|
||
}
|
||
|
||
ko.applyBindings(new MyViewModel());
|