GithubHelp home page GithubHelp logo

sandy98 / chess-board Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 973 KB

ChessBoard as a web component, meant to be used with any framework (Vue, React, Angular, even none). Compiled with Stencil.js. See demo at:

Home Page: http://sandy98.github.com/public/chess-board-test/

License: MIT License

CSS 1.50% TypeScript 90.31% HTML 8.19%
chess chessboard chess-board web-components javascript

chess-board's Introduction

Built With Stencil

ChessBoard Web Component

ChessBoard as a web component, meant to be used with any framework (Vue, React, Angular, even none).

Compiled with Stencil.js

Rosarin immortal

chess-board's People

Contributors

sandy98 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

chess-board's Issues

Failed to build

I get the following errors when i try "npm run build"

`

[ ERROR ] TypeScript: node_modules/@types/jest/index.d.ts:39:30
A rest parameter must be of an array type.

 L39:  type ArgsType<T> = T extends (...args: infer A) => any ? A : never;

[ ERROR ] TypeScript: node_modules/@types/jest/index.d.ts:218:112
A tuple type element list cannot be empty.

L217:   */
L218:  ction spyOn<T extends {}, M extends keyof T>(object: T, method: M, accessType: 'get'): SpyInstance<T[M], []>;
L219:  function spyOn<T extends {}, M extends keyof T>(object: T, method: M, accessType: 'set'): SpyInstance<void, [T[M]]>;

[ ERROR ] TypeScript: node_modules/@types/jest/index.d.ts:220:144
Type 'ArgsType<T[M]>' does not satisfy the constraint 'any[]'. Type '{}' is not assignable to type 'any[]'.
Property 'includes' is missing in type '{}'.

L219:  function spyOn<T extends {}, M extends keyof T>(object: T, method: M, accessType: 'set'): SpyInstance<void, [T[M]]>;
L220:   T, method: M): T[M] extends (...args: any[]) => any ? SpyInstance<ReturnType<T[M]>, ArgsType<T[M]>> : never;
L221:  /**

[ ERROR ] TypeScript: node_modules/@types/jest/index.d.ts:803:50
Type 'ArgsType<T[P]>' does not satisfy the constraint 'any[]'. Type '{}' is not assignable to type 'any[]'.

L802:  type Mocked<T> = {
L803:      [P in keyof T]: T[P] & MockInstance<T[P], ArgsType<T[P]>>;
L804:  } & T;

[29:10.6] dev server: http://localhost:3333/
[29:10.6] build failed, watching for changes... in 10.44 s

`
is there a ready to use file (at least)?

Is there a read

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.