From f0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Mon, 19 Jul 2021 20:06:08 +0300 Subject: Apply Prettier --- app/models/character/character.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app/models/character/character.ts') diff --git a/app/models/character/character.ts b/app/models/character/character.ts index ca3cbc7..a9a2e46 100644 --- a/app/models/character/character.ts +++ b/app/models/character/character.ts @@ -1,9 +1,9 @@ -import { Instance, SnapshotOut, types } from "mobx-state-tree" +import { Instance, SnapshotOut, types } from 'mobx-state-tree' /** * Rick and Morty character model. */ -export const CharacterModel = types.model("Character").props({ +export const CharacterModel = types.model('Character').props({ id: types.identifierNumber, name: types.maybe(types.string), status: types.maybe(types.string), @@ -14,4 +14,5 @@ type CharacterType = Instance export interface Character extends CharacterType {} type CharacterSnapshotType = SnapshotOut export interface CharacterSnapshot extends CharacterSnapshotType {} -export const createCharacterDefaultModel = () => types.optional(CharacterModel, {}) +export const createCharacterDefaultModel = () => + types.optional(CharacterModel, {}) -- cgit v1.2.3