@@ -1,7 +1,7 @@
{
"extends": "@tresjs/eslint-config-vue",
"rules": {
- "@typescript-eslint/no-use-before-define": "off",
- "@typescript-eslint/indent": "off"
+ "@typescript-eslint/no-use-before-define": "off"
+ /* "@typescript-eslint/indent": "off" */
}
@@ -1,12 +1,13 @@
<script setup lang="ts">
import {
PerspectiveCamera,
- Scene } from 'three'
+ Scene,
+} from 'three'
import type {
WebGLRendererParameters,
- type ColorSpace,
- type ShadowMapType,
- type ToneMapping,
+ ColorSpace,
+ ShadowMapType,
+ ToneMapping,
} from 'three'
import type { Ref } from 'vue'
import { computed, onMounted, provide, ref, shallowRef, watch, watchEffect, Fragment, defineComponent, h } from 'vue'
@@ -173,8 +173,8 @@ export type ThreeElement<T extends ConstructorRepresentation> = Mutable<
type ThreeExports = typeof THREE
type ThreeInstancesImpl = {
[K in keyof ThreeExports as Uncapitalize<K>]: ThreeExports[K] extends ConstructorRepresentation
- ? ThreeElement<ThreeExports[K]>
- : never
+ ? ThreeElement<ThreeExports[K]>
+ : never
export interface ThreeInstances extends ThreeInstancesImpl {