mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Upgrade to TypeScript 2.1, and latest grunt-ts. (#3609)
* Upgrade to TypeScript 2.1, and latest grunt-ts. * Remove AudioBuffer and UIEvent from the definitions, we now should be compatible with dom * Update the tns-platform-declarations readme
This commit is contained in:
committed by
Hristo Deshev
parent
513aeaa47b
commit
489be1e460
@@ -1,10 +1,11 @@
|
||||
|
||||
interface AudioBuffer {
|
||||
mNumberChannels: number;
|
||||
mDataByteSize: number;
|
||||
mData: interop.Pointer | interop.Reference<any>;
|
||||
}
|
||||
declare var AudioBuffer: interop.StructType<AudioBuffer>;
|
||||
// // Clashes with the JavaScript dom AudioBuffer
|
||||
// interface AudioBuffer {
|
||||
// mNumberChannels: number;
|
||||
// mDataByteSize: number;
|
||||
// mData: interop.Pointer | interop.Reference<any>;
|
||||
// }
|
||||
// declare var AudioBuffer: interop.StructType<AudioBuffer>;
|
||||
|
||||
interface AudioBufferList {
|
||||
mNumberBuffers: number;
|
||||
|
||||
Reference in New Issue
Block a user