mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Don't reference 'node' in tests for 'jpeg-js'.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
/// <reference types="node" />
|
||||
|
||||
import fs = require("fs");
|
||||
import jpeg = require("jpeg-js");
|
||||
import fs = require("fs");
|
||||
|
||||
const x = fs.readFileSync("hello.jpg");
|
||||
const decoded = jpeg.decode(x, true);
|
||||
|
||||
Reference in New Issue
Block a user