@turbowarp/types 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/validate.yml +24 -0
- package/LICENSE +202 -0
- package/README.md +87 -0
- package/index.d.ts +40 -0
- package/package.json +28 -0
- package/tests/blockly.ts +15 -0
- package/tests/cjs-es6.js +4 -0
- package/tests/cjs-js.js +3 -0
- package/tests/deprecated.js +4 -0
- package/tests/events.ts +15 -0
- package/tests/render.ts +8 -0
- package/tests/ts-es6.ts +4 -0
- package/tests/ts-require.ts +4 -0
- package/tests/vm.ts +49 -0
- package/tsconfig.json +18 -0
- package/types/events.d.ts +14 -0
- package/types/immutable.d.ts +6 -0
- package/types/jszip.d.ts +10 -0
- package/types/scratch-audio.d.ts +29 -0
- package/types/scratch-blocks.d.ts +183 -0
- package/types/scratch-parser.d.ts +6 -0
- package/types/scratch-render-fonts.d.ts +6 -0
- package/types/scratch-render.d.ts +686 -0
- package/types/scratch-storage.d.ts +20 -0
- package/types/scratch-svg-renderer.d.ts +6 -0
- package/types/scratch-vm.d.ts +1460 -0
- package/types/twgl.d.ts +21 -0
package/types/twgl.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Type definitions for twgl (rhymes with wiggle)
|
|
2
|
+
// Project: https://twgljs.org/
|
|
3
|
+
|
|
4
|
+
declare namespace twgl {
|
|
5
|
+
interface BufferInfo {
|
|
6
|
+
// TODO: returned by createBufferInfoFromArrays
|
|
7
|
+
// might not be able to meaningfully type?
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface ProgramInfo {
|
|
11
|
+
// TODO: returned by createProgramInfo
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface M4 {
|
|
15
|
+
// TODO
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface V3 {
|
|
19
|
+
// TODO
|
|
20
|
+
}
|
|
21
|
+
}
|