@types/sudokus
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/sudokus

Summary

This package contains type definitions for sudokus (https://github.com/Moeriki/node-sudokus#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sudokus.

index.d.ts

export type ProgressFn = (state: Cell[][]) => void;

export interface Cell {
    fixed: boolean;
    value: number;
}

export interface Options {
    onProgress?: ProgressFn | undefined;
}

export function solve(data: number[][], options?: Options): number[][];

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Florian Keller.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/sudokus

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

3.06 kB

Total Files

5

Last publish

Collaborators

  • types