forked from LaconicNetwork/cosmos-explorer
add ts config
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
interface hello {
|
||||
name: string;
|
||||
}
|
||||
|
||||
class HelloType implements hello {
|
||||
name: string
|
||||
|
||||
constructor(name: string) {
|
||||
this.name = name
|
||||
}
|
||||
}
|
||||
console.log('Hello from typescript', new HelloType('typescript'))
|
||||
@@ -19,6 +19,7 @@ import './global-components'
|
||||
import '@/libs/portal-vue'
|
||||
import '@/libs/toastification'
|
||||
import '@/libs/clipboard'
|
||||
import '@/libs/Hello.ts'
|
||||
|
||||
Vue.directive('observe-visibility', ObserveVisibility)
|
||||
// Vue.use(VueGtag, { config: { id: 'UA-238887-1' } }, router)
|
||||
|
||||
Reference in New Issue
Block a user