Add power 2 warning

This commit is contained in:
schmelczerandras 2020-10-11 22:55:30 +02:00
parent d15874611d
commit da89087ae6
2 changed files with 8 additions and 13 deletions

View file

@ -1,16 +1,3 @@
/** @internal */
declare global {
interface Array<T> {
x: number;
y: number;
}
interface Float32Array {
x: number;
y: number;
}
}
/** @internal */
const setIndexAlias = (name: string, index: number, type: any) => {
if (!Object.prototype.hasOwnProperty.call(type.prototype, name)) {