Code Monkey home page Code Monkey logo

deep-combination's Introduction

Hi ๐Ÿ‘‹, I'm Leko

A passionate JavaScript developer from Japan

  • ๐Ÿ”ญ Iโ€™m currently working on nodejs/node
  • ๐ŸŒฑ Iโ€™m currently learning English
  • ๐Ÿ“ I regulary write articles on https://blog.leko.jp

ย leko

l_e_k_o leko @l_e_k_o

deep-combination's People

Contributors

leko avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

deep-combination's Issues

Type 'DeepCombination<N>' is not an array type or a string type.

import { createCombinator } from "deep-combination";

const cb = createCombinator()
  .addDimention(["chrome", "firefox"])
  .addDimention(["pc", "mobile"]);

for (let [browser, device] of cb) {
  console.log(browser, device);
}
npx ts-node test.ts
npx: installed 8 in 2.051s
โจฏ Unable to compile TypeScript:
test.ts:7:31 - error TS2495: Type 'DeepCombination2<string, string>' is not an array type or a string type.

7 for (let [browser, device] of cb) {
                                ~~

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.