Update TypeScript to use ! instead of casting
This commit is contained in:
parent
bc28949056
commit
1732bafbc1
17 changed files with 99 additions and 97 deletions
ts_src
|
@ -125,7 +125,7 @@ export function decompile (buffer: Buffer | Array<number | Buffer>): Array<numbe
|
|||
// decompile minimally
|
||||
const op = asMinimalOP(data)
|
||||
if (op !== undefined) {
|
||||
chunks.push(<number>op)
|
||||
chunks.push(op)
|
||||
} else {
|
||||
chunks.push(data)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue