-
Notifications
You must be signed in to change notification settings - Fork 0
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
[WIP] Board Base (Typescript) #15
Conversation
app/javascript/custom.d.ts
Outdated
@@ -0,0 +1,9 @@ | |||
declare module "*.vue" { | |||
import Vue from 'vue' | |||
export default typeof Vue |
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.
Missing semicolon
app/javascript/custom.d.ts
Outdated
@@ -0,0 +1,9 @@ | |||
declare module "*.vue" { | |||
import Vue from 'vue' |
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.
Missing semicolon
app/javascript/custom.d.ts
Outdated
export default typeof Vue | ||
} | ||
|
||
declare module "*.svg" { |
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.
" should be '
app/javascript/custom.d.ts
Outdated
@@ -0,0 +1,9 @@ | |||
declare module "*.vue" { |
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.
" should be '
excelente... |
Lo mismo que #14 pero en TypeScript.
Me gusta como se ve pero no sé si haría el cambio ahora, se viene soporte aun mejor de TS en Vue vuejs/vue#5887 (ahora hay que usar vue-class-component para resolver un par de problemas).
Lo otro es que no hay soporte de tslint dentro de archivos *.vue palantir/tslint#2099. Agregué tslint a webpack y se pueden ver los errores ahí pero no es la mejor solución.
Dejaría este PR para tener una base cuando migremos pero no lo mergearía/adaptaría hasta que, por lo menos, el primer tema esté resuelto.