Code Monkey home page Code Monkey logo

Comments (5)

lzxb avatar lzxb commented on August 26, 2024

都有哪些类型错误?这个类型错误和Genesis没有什么关系才对。

from gez.

dehyang avatar dehyang commented on August 26, 2024

image

1.x的编译命令,但是版本升级到2.1.0 卡在92

2.x的等会截图

from gez.

dehyang avatar dehyang commented on August 26, 2024

都有哪些类型错误?这个类型错误和Genesis没有什么关系才对。

src/utils/request.ts:130:42 - error TS2339: Property '_paiApiLists' does not exist on type 'Window & typeof globalThis'.

130 const index = window._paiApiLists.indexOf(
~~~~~~~~~~~~

src/utils/request.ts:133:28 - error TS2339: Property '_paiApiLists' does not exist on type 'Window & typeof globalThis'.

133 window._paiApiLists.splice(index, 1);
~~~~~~~~~~~~

src/utils/request.ts:134:32 - error TS2339: Property '_paiApiLists' does not exist on type 'Window & typeof globalThis'.

134 if (window._paiApiLists.length <= 0) {
~~~~~~~~~~~~

src/utils/request.ts:135:32 - error TS2339: Property '_elloading' does not exist on type 'Window & typeof globalThis'.

135 window._elloading.close();
~~~~~~~~~~

src/utils/request.ts:136:32 - error TS2339: Property '_elloading' does not exist on type 'Window & typeof globalThis'.

136 window._elloading = null;
~~~~~~~~~~

src/utils/request.ts:139:37 - error TS2339: Property 'noLogin' does not exist on type 'AxiosRequestConfig'.

from gez.

dehyang avatar dehyang commented on August 26, 2024

image

1.x的编译命令,但是版本升级到2.1.0 卡在92

2.x的等会截图

用以前的编译命令是编译通过了。。92卡了一点时间!!先用着吧!!

from gez.

lzxb avatar lzxb commented on August 26, 2024

genesis 编译的时候不会执行类型检查的。

from gez.

Related Issues (20)

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.