update: create vue.d.ts files

* add vue-tsc to emit d.ts files from vue components
* use absolute paths in components
* avoids conflicts with ts custom paths in vue-tsc generated vue.d.ts files

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-17 01:39:50 +01:00
parent a21238f9aa
commit 10215b4631
26 changed files with 153 additions and 115 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<script lang="ts" setup>
import Handle from '../Handle/Handle.vue'
import { NodeProps, Position } from '~/types'
import { NodeProps, Position } from '../../types'
interface DefaultNodeProps extends NodeProps {
data?: NodeProps['data']
+1 -1
View File
@@ -1,6 +1,6 @@
<script lang="ts" setup>
import Handle from '../Handle/Handle.vue'
import { NodeProps, Position } from '~/types'
import { NodeProps, Position } from '../../types'
interface InputNodeProps extends NodeProps {
data?: NodeProps['data']
+2 -2
View File
@@ -1,8 +1,8 @@
<script lang="ts" setup>
import { DraggableEventListener, DraggableCore } from '@braks/revue-draggable'
import { Node, NodeType, SnapGrid } from '~/types'
import { useHooks, useStore } from '../../composables'
import { Node, NodeType, SnapGrid } from '../../types'
import { NodeIdContextKey } from '~/context'
import { useHooks, useStore } from '~/composables'
interface NodeProps {
node: Node
+1 -1
View File
@@ -1,6 +1,6 @@
<script lang="ts" setup>
import Handle from '../Handle/Handle.vue'
import { NodeProps, Position } from '~/types'
import { NodeProps, Position } from '../../types'
interface OutputNodeProps extends NodeProps {
data?: NodeProps['data']