mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
suppress Octal literals are not available when targeting ECMAScript 5 and higher.
This commit is contained in:
@@ -50,7 +50,7 @@ function FSTest(): void {
|
||||
FS.symlink('file', 'link');
|
||||
|
||||
FS.writeFile('forbidden', 'can\'t touch this');
|
||||
FS.chmod('forbidden', 0000);
|
||||
FS.chmod('forbidden', parseInt("0000", 8));
|
||||
|
||||
FS.writeFile('file', 'foobar');
|
||||
FS.truncate('file', 3);
|
||||
|
||||
Reference in New Issue
Block a user