10.1.0-FL.20241029 • Published 8 months ago
zk-types v10.1.0-FL.20241029
TypeScript Declarations for the ZK Framework
Demo
npm i -D typescript zk-types
npx tsc --init
Modify tsconfig.json
to have:
{
"compilerOptions": {
"types": ["zk-types"]
}
}
Create a TS file with whatever name (e.g., demo.ts
) and start typing:
const oldPanel = zk.augment(zul.wnd.Panel.prototype, {
onClose(): void {
alert('Modified zul.wnd.Panel.prototype.onClose');
return oldPanel.onClose();
}
})
Compile with:
npx tsc
10.1.0-FL.20241029
8 months ago
10.0.2
9 months ago
10.0.1-1
11 months ago
10.0.0
1 year ago
10.0.0-Beta
2 years ago
10.0.0-FL.20230728
2 years ago
0.0.7
2 years ago
0.0.3
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.6
2 years ago
0.0.2
3 years ago
0.0.0
3 years ago
0.0.1
3 years ago