Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberDex committed Mar 12, 2024
1 parent da6b0b9 commit ca0c960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/helpers/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BitmapText, HTMLText, Text } from 'pixi.js';
export type PixiText = Text | BitmapText | HTMLText;
export type AnyText = string | number | PixiText;

export function getTextView(text: AnyText): Text | BitmapText | HTMLText
export function getTextView(text: AnyText): PixiText
{
if (typeof text === 'string' || typeof text === 'number')
{
Expand Down

0 comments on commit ca0c960

Please sign in to comment.