GithubHelp home page GithubHelp logo

tseijp / mech Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 1.32 MB

CAD like Model Viewer https://tseijp.github.io/mech/

Home Page: https://codesandbox.io/s/github/tseijp/mech/tree/main/

HTML 2.58% TypeScript 97.42%

mech's Introduction

mech's People

Contributors

tseijp avatar

Stargazers

 avatar  avatar

Watchers

 avatar

mech's Issues

Type '{}' is not assignable to type 'ReactNode'. TS2769

TypeScript error in src/components/attrs.ts(48,23):
No overload matches this call.
  The last overload gave the following error.
    Argument of type 'ThemeProviderComponent<any, any>' is not assignable to parameter of type 'string | FunctionComponent<ThemeProviderProps<any, any>> | ComponentClass<ThemeProviderProps<any, any>, any>'.
      Type 'import("node_modules/@types/react-reconciler/node_modules/@types/react/index").ComponentClass<import("node_modules/@types/styled-components/index").ThemeProviderProps<any, any>, any>' is not assignable to type 'React.ComponentClass<import("node_modules/@types/styled-components/index").ThemeProviderProps<any, any>, any>'.
        Types of property 'contextType' are incompatible.
          Type 'import("node_modules/@types/react-reconciler/node_modules/@types/react/index").Context<any> | undefined' is not assignable to type 'React.Context<any> | undefined'.
            Type 'import("node_modules/@types/react-reconciler/node_modules/@types/react/index").Context<any>' is not assignable to type 'React.Context<any>'.
              Types of property 'Provider' are incompatible.
                Type 'import("node_modules/@types/react-reconciler/node_modules/@types/react/index").Provider<any>' is not assignable to type 'React.Provider<any>'.
                  Types of parameters 'props' and 'props' are incompatible.
                    Type 'React.ProviderProps<any>' is not assignable to type 'import("node_modules/@types/react-reconciler/node_modules/@types/react/index").ProviderProps<any>'.
                      Types of property 'children' are incompatible.
                        Type 'React.ReactNode' is not assignable to type 'import("node_modules/@types/react-reconciler/node_modules/@types/react/index").ReactNode'.
                          Type '{}' is not assignable to type 'ReactNode'.  TS2769

    46 |   const { theme, children, ...other } = props;
    47 |   if (!theme) return props;
  > 48 |   other.children = el(ThemeProvider, {theme}, children);
       |                       ^
    49 |   return other
    50 | }
    51 |

ReferenceError: process is not defined

VM73:2 Uncaught ReferenceError: process is not defined
    at Object.4043 (<anonymous>:2:13168)
    at r (<anonymous>:2:306599)
    at Object.8048 (<anonymous>:2:9496)
    at r (<anonymous>:2:306599)
    at Object.8641 (<anonymous>:2:1379)
    at r (<anonymous>:2:306599)
    at <anonymous>:2:315627
    at <anonymous>:2:324225
    at <anonymous>:2:324229
    at HTMLIFrameElement.e.onload (index.js:1:1)

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.