Skip to content
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

ci: fix type errors #642

Merged
merged 1 commit into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const variants: Array<{name: string, bind?: unknown}> = [
:title="variant.name"
>
<HstButton
v-bind="variant.bind"
v-bind="variant.bind as {}"
class="htw-p-2"
>
Click me!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts" setup>
import HstColorShades from './HstColorShades.vue'
import type { CSSProperties } from 'vue'

const colors = {
slate: {
Expand Down Expand Up @@ -311,7 +312,7 @@ const colors = {
class="htw-rounded htw-h-[100px]"
:style="{
backgroundColor: color,
}"
} as CSSProperties"
/>
</template>
</HstColorShades>
Expand All @@ -329,7 +330,7 @@ const colors = {
class="htw-rounded htw-h-[100px] htw-text-5xl htw-flex htw-items-end"
:style="{
color: color,
}"
} as CSSProperties"
>
Aa
</div>
Expand All @@ -349,7 +350,7 @@ const colors = {
class="htw-rounded htw-h-[100px] htw-border-solid htw-border-2"
:style="{
borderColor: color,
}"
} as CSSProperties"
/>
</template>
</HstColorShades>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default {
import { computed, ref } from 'vue'
import { VTooltip as vTooltip } from 'floating-vue'
import HstCopyIcon from '../HstCopyIcon.vue'
import type { CSSProperties } from 'vue'

const props = defineProps<{
shades: Record<string, any>
Expand Down Expand Up @@ -68,7 +69,7 @@ const hover = ref<string>(null)
class="htw-rounded-full htw-w-16 htw-h-16"
:style="{
backgroundColor: shade.color,
}"
} as CSSProperties"
/>
</slot>
<div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts" setup>
import HstTokenList from './HstTokenList.vue'
import type { CSSProperties } from 'vue'

const tokens = {
0: 0,
Expand Down Expand Up @@ -70,7 +71,7 @@ const tokens = {
class="htw-h-20 htw-bg-gray-500/50"
:style="{
width: token.value as string,
}"
} as CSSProperties"
/>
</div>
</template>
Expand Down