Fix comments
This commit is contained in:
parent
2838622335
commit
511d7ee0ec
3 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
import * as Element from './ElementTransformer'
|
import * as Element from './ElementTransformer'
|
||||||
|
|
||||||
// Transforms API response to Party object
|
// Transforms API response to Character object
|
||||||
export function toObject(data: any): Character {
|
export function toObject(data: any): Character {
|
||||||
return {
|
return {
|
||||||
type: 'character',
|
type: 'character',
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import * as Element from './ElementTransformer'
|
import * as Element from './ElementTransformer'
|
||||||
|
|
||||||
// Transforms API response to Party object
|
// Transforms API response to Summon object
|
||||||
export function toObject(data: any): Summon {
|
export function toObject(data: any): Summon {
|
||||||
return {
|
return {
|
||||||
type: 'summon',
|
type: 'summon',
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import * as Element from './ElementTransformer'
|
import * as Element from './ElementTransformer'
|
||||||
|
|
||||||
// Transforms API response to Party object
|
// Transforms API response to Weapon object
|
||||||
export function toObject(data: any): Weapon {
|
export function toObject(data: any): Weapon {
|
||||||
return {
|
return {
|
||||||
type: 'weapon',
|
type: 'weapon',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue