Skip to content

Commit

Permalink
do yarn lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ke456-png committed Sep 28, 2022
1 parent b9c895b commit 7335095
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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];
5 changes: 3 additions & 2 deletions packages/three-vrm-core/src/humanoid/VRMHumanBones.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
4 changes: 1 addition & 3 deletions packages/three-vrm-core/src/humanoid/VRMHumanoidRig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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];

0 comments on commit 7335095

Please sign in to comment.