Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to TypeScript #4

Merged
merged 13 commits into from
Feb 23, 2020
Merged

Migrate to TypeScript #4

merged 13 commits into from
Feb 23, 2020

Conversation

shigma
Copy link
Member

@shigma shigma commented Jan 21, 2020

No description provided.

@simon300000 simon300000 self-assigned this Jan 26, 2020
@simon300000
Copy link
Member

我似乎搞清楚我为什么不能composite了
不知道为什么,我需要加上-b

@simon300000
Copy link
Member

我就遇到了这种问题,我已经蒙了
microsoft/TypeScript#9944

return [...httpHome.homes.values()]
.map(home => {
const { resolves, rejects, lastSeen } = home
const { id }: any = home
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

必须要这样,不然就

src/home.ts:30:14 - error TS4023: Exported variable 'router' has or is using name 'HomeID' from external module "/Users/simon3000/GitHub/Cluster-center/node_modules/athome/src/index" but cannot be named.

30 export const router = {
                ~~~~~~

@simon300000 simon300000 merged commit f67821a into master Feb 23, 2020
@simon300000 simon300000 deleted the shigma/ts branch February 23, 2020 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants