Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

prefer-namespace-keyword triggers on "declare global {" #127

Closed
KaelWD opened this issue May 2, 2018 · 1 comment · Fixed by #132
Closed

prefer-namespace-keyword triggers on "declare global {" #127

KaelWD opened this issue May 2, 2018 · 1 comment · Fixed by #132

Comments

@KaelWD
Copy link

KaelWD commented May 2, 2018

Code:

declare global {
  interface Window {
    Vue: VueConstructor
  }
}

Error:

  1:1  error  Use 'namespace' instead of 'module' to declare custom TypeScript modules  typescript/prefer-namespace-keyword
@mysticatea
Copy link
Contributor

I'm encountering the same issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants