Skip to content

Commit

Permalink
chore: lint issues with isFunction util
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed May 3, 2023
1 parent 44f59f9 commit 4ae072d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion playground/src/components/TheExperience.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { reactive, ref, watchEffect, provide } from 'vue'
import { ref, watchEffect } from 'vue'
import { BasicShadowMap, sRGBEncoding, NoToneMapping } from 'three'
import { TresCanvas } from '/@/'
import TheSphere from './TheSphere.vue'
Expand Down
2 changes: 1 addition & 1 deletion playground/src/components/gltf/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const state = reactive({
toneMapping: NoToneMapping,
})
const akuAkuRef = ref(null)
/* const akuAkuRef = ref(null) */
const context = ref()
watchEffect(() => {
Expand Down
2 changes: 0 additions & 2 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ const HTML_TAGS =

export const isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS)

export const isFunction = (val: unknown): val is Function => typeof val === 'function'

export function kebabToCamel(str: string) {
return str.replace(/-([a-z])/g, (_, c) => c.toUpperCase())
}
Expand Down

0 comments on commit 4ae072d

Please sign in to comment.