This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 75
type
declarations should have distinct AST from var
s
#414
Comments
This was referenced Dec 13, 2017
This is throwing import * as React from 'react';
import { Name } from './styled';
export interface propTypes {
name: string;
}
export default class SomeClass extends React.PureComponent<propTypes> {
render() {
const { name } = this.props;
return <Name>{name}</Name>;
}
} Is this what this issue is talking about? |
export default class MyComponent extends React.Component<Props, State> {
open = () => {
console.log('something')
}
} This is also throwing |
Is this related to the following throwing export type Spec = {
eval?: string;
}; |
This was referenced Jan 5, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
semi
to work with type declarations out of the box.It leads to issues such as #350 #359
We should come up with a distinct AST for type declarations and figure out how to make
semi
work in some other way.The text was updated successfully, but these errors were encountered: