-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
[1.0] Fix graphql compiler on typescript #949
Merged
KyleAMathews
merged 16 commits into
gatsbyjs:1.0
from
fabien0102:1.0-fix-graphql-compiler
Jun 15, 2017
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6172024
Remove unused var
fabien0102 764b733
Fix indent
fabien0102 5401cda
Add babel to typescript plugin
fabien0102 9580915
Let `parseEverything` really parse everything
fabien0102 347abf4
Exclude tests, declarations and stories
fabien0102 9f60674
Run yarn format
fabien0102 5cd6f14
Don't filter tests and stories
fabien0102 6951297
Merge remote-tracking branch 'upstream/1.0' into 1.0-fix-graphql-comp…
fabien0102 893a9d9
Fix building schema console.time
fabien0102 4bca4a0
Fix create-path on windows
fabien0102 353b44b
Deal with `@` into keys
fabien0102 32e7508
Add tests and refactor create-path
fabien0102 698acc8
Fix types of gatsby-link
fabien0102 7f6229a
Add ts and tsx into query-watcher
fabien0102 c8e05c1
Merge remote-tracking branch 'upstream/1.0' into 1.0-fix-graphql-comp…
fabien0102 7cc009e
Only take babel-plugin-extract-graphql plugin
fabien0102 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { ClassicComponentClass } from "react"; | ||
import { LinkProps } from "react-router"; | ||
import * as React from "react"; | ||
|
||
type GatsbyLink = ClassicComponentClass<LinkProps>; | ||
declare const GatsbyLink: GatsbyLink; | ||
export interface GatsbyLinkProps { | ||
to: string; | ||
onClick?: (event: any) => void | ||
} | ||
|
||
export = GatsbyLink; | ||
export default class GatbyLink extends React.Component<GatsbyLinkProps, void>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this not being used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My VSCode tell me that is not used, but you can recheck ;) (I try to remove unused code when I see it)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jquense you know what this was used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well if no code is calling it whatevers. We can recover it later if it's needed for something.