- 📫 How to reach me: [email protected]
uglyspoon / h5-cloud-music-ts Goto Github PK
View Code? Open in Web Editor NEWh5版本的网易云音乐,基于React hooks + typescript + redux
h5版本的网易云音乐,基于React hooks + typescript + redux
./src/containers/Player/index.tsx
Cannot find file: 'index.tsx' does not match the corresponding name on disk: '.\src\components\ProgressCircle\progressCircle'.
一开始是那个ProgressCircle 要小写
然后 ,我明明在 tsconfig 忽略了 node_modules 却还报错
F:/360MoveData/Users/Administrator/Desktop/h5-cloud-music-ts/node_modules/_jest-diff@26.0.1@jest-diff/build/diffLines.d.ts
TypeScript error in F:/360MoveData/Users/Administrator/Desktop/h5-cloud-music-ts/node_modules/_jest-diff@26.0.1@jest-diff/build/diffLines.d.ts(8,13):
'=' expected. TS1005
6 | */
7 | import { Diff } from './cleanupSemantic';
8 | import type { DiffOptions } from './types';
| ^
9 | export declare const diffLinesUnified: (aLines: string[], bLines: string[], options?: DiffOptions | undefined) => string;
10 | export declare const diffLinesUnified2: (aLinesDisplay: string[], bLinesDisplay: string[], aLinesCompare: string[], bLinesCompare: string[], options?: DiffOptions |
undefined) => string;
11 | export declare const diffLinesRaw: (aLines: string[], bLines: string[]) => Diff[];
作者您好,我在看这个项目的时候,您这边用的hook,但是状态管理和路由还是用的connect和withRouter,我使用hook改造的时候发现是@type版本太低,没有导出hook,所以报错,您这边是遇到这样的问题而没有使用hook吗?
路由配置 无法通过ts校验
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.