mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Added declarations for 'is-binary-path'. * Ensure 'is-binary-path' returns a 'boolean'.
5 lines
150 B
TypeScript
5 lines
150 B
TypeScript
import isBinaryPath = require("is-binary-path");
|
|
|
|
let a: boolean = isBinaryPath("src/unicorn.png");
|
|
|
|
let b: boolean = isBinaryPath("src/unicorn.txt"); |