mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-24 13:00:46 +08:00
suppress Octal literals are not available when targeting ECMAScript 5 and higher.
This commit is contained in:
@@ -50,7 +50,7 @@ function d() {
|
||||
function e() {
|
||||
mock({
|
||||
'some/dir': mock.directory({
|
||||
mode: 0755,
|
||||
mode: parseInt("0755", 8),
|
||||
items: {
|
||||
file1: 'file one content',
|
||||
file2: new Buffer([8, 6, 7, 5, 3, 0, 9])
|
||||
|
||||
Reference in New Issue
Block a user