1.0.3 • Published 6 months ago

@types/sudokus v1.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for sudokus 1.0
// Project: https://github.com/Moeriki/node-sudokus#readme
// Definitions by: Florian Keller <https://github.com/ffflorian>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Fri, 02 Jul 2021 22:33:09 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Florian Keller.

1.0.2

7 months ago

1.0.3

6 months ago

1.0.1

3 years ago

1.0.0

5 years ago