diff --git a/packages/three-vrm-core/src/expressions/VRMExpressionMaterialColorType.ts b/packages/three-vrm-core/src/expressions/VRMExpressionMaterialColorType.ts index 6bf9697ae..733e39941 100644 --- a/packages/three-vrm-core/src/expressions/VRMExpressionMaterialColorType.ts +++ b/packages/three-vrm-core/src/expressions/VRMExpressionMaterialColorType.ts @@ -9,7 +9,8 @@ export const VRMExpressionMaterialColorType = { OutlineColor: 'outlineColor', } as const; -export type VRMExpressionMaterialColorType = typeof VRMExpressionMaterialColorType[keyof typeof VRMExpressionMaterialColorType]; +export type VRMExpressionMaterialColorType = + typeof VRMExpressionMaterialColorType[keyof typeof VRMExpressionMaterialColorType]; export const v0ExpressionMaterialColorMap: { [key: string]: VRMExpressionMaterialColorType | undefined } = { _Color: VRMExpressionMaterialColorType.Color, diff --git a/packages/three-vrm-core/src/firstPerson/VRMFirstPersonMeshAnnotationType.ts b/packages/three-vrm-core/src/firstPerson/VRMFirstPersonMeshAnnotationType.ts index 98f898233..d2748e1e7 100644 --- a/packages/three-vrm-core/src/firstPerson/VRMFirstPersonMeshAnnotationType.ts +++ b/packages/three-vrm-core/src/firstPerson/VRMFirstPersonMeshAnnotationType.ts @@ -7,4 +7,5 @@ export const VRMFirstPersonMeshAnnotationType = { FirstPersonOnly: 'firstPersonOnly', } as const; -export type VRMFirstPersonMeshAnnotationType = typeof VRMFirstPersonMeshAnnotationType[keyof typeof VRMFirstPersonMeshAnnotationType]; +export type VRMFirstPersonMeshAnnotationType = + typeof VRMFirstPersonMeshAnnotationType[keyof typeof VRMFirstPersonMeshAnnotationType]; diff --git a/packages/three-vrm-core/src/humanoid/VRMHumanBones.ts b/packages/three-vrm-core/src/humanoid/VRMHumanBones.ts index 6f2d0b473..ec2eec301 100644 --- a/packages/three-vrm-core/src/humanoid/VRMHumanBones.ts +++ b/packages/three-vrm-core/src/humanoid/VRMHumanBones.ts @@ -5,5 +5,6 @@ import type { VRMRequiredHumanBoneName } from './VRMRequiredHumanBoneName'; /** * A map from {@link VRMHumanBoneName} to {@link VRMHumanBone}. */ -export type VRMHumanBones = { [name in VRMHumanBoneName]?: VRMHumanBone } & - { [name in VRMRequiredHumanBoneName]: VRMHumanBone }; +export type VRMHumanBones = { [name in VRMHumanBoneName]?: VRMHumanBone } & { + [name in VRMRequiredHumanBoneName]: VRMHumanBone; +}; diff --git a/packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts b/packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts index eb31407d6..44c56d1e2 100644 --- a/packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts +++ b/packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts @@ -11,9 +11,7 @@ const _quatA = new THREE.Quaternion(); * A class represents the normalized Rig of a VRM. */ export class VRMHumanoidRig extends VRMRig { - protected static _setupTransforms( - modelRig: VRMRig, - ): { + protected static _setupTransforms(modelRig: VRMRig): { rigBones: VRMHumanBones; root: THREE.Object3D; parentWorldRotations: { [boneName in VRMHumanBoneName]?: THREE.Quaternion }; diff --git a/packages/three-vrm-materials-mtoon/src/MToonMaterialOutlineWidthMode.ts b/packages/three-vrm-materials-mtoon/src/MToonMaterialOutlineWidthMode.ts index 98d9ed411..b1272e786 100644 --- a/packages/three-vrm-materials-mtoon/src/MToonMaterialOutlineWidthMode.ts +++ b/packages/three-vrm-materials-mtoon/src/MToonMaterialOutlineWidthMode.ts @@ -6,4 +6,5 @@ export const MToonMaterialOutlineWidthMode = { ScreenCoordinates: 'screenCoordinates', } as const; -export type MToonMaterialOutlineWidthMode = typeof MToonMaterialOutlineWidthMode[keyof typeof MToonMaterialOutlineWidthMode]; +export type MToonMaterialOutlineWidthMode = + typeof MToonMaterialOutlineWidthMode[keyof typeof MToonMaterialOutlineWidthMode]; diff --git a/yarn.lock b/yarn.lock index 2f4dbce1c..7f215f0d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6593,9 +6593,9 @@ prelude-ls@~1.1.2: integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= prettier@^2.1.2: - version "2.2.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" - integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== + version "2.7.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" + integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== pretty-format@^26.0.0, pretty-format@^26.6.2: version "26.6.2"