mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
11 lines
275 B
TypeScript
11 lines
275 B
TypeScript
import solve = require('nonogram-solver');
|
|
|
|
const { status, puzzle } = solve('input.json');
|
|
|
|
puzzle; // $ExpectType Puzzle
|
|
puzzle.columnHints; // $ExpectType number[][]
|
|
puzzle.isFinished; // $expectType boolean
|
|
puzzle.svg; // $expectType string
|
|
|
|
status; // $ExpectType State
|