Skip to content

Add types for logger #95

@SarahHouben

Description

@SarahHouben

Add a type file (.d.ts) for the 5app logger.
Suggested types:


declare class Logger {
    static info: (...args: any[]) => void;
    static error: (...args: any[]) => void;
    static warn: (...args: any[]) => void;
    static debug: (...args: any[]) => void
}

declare module '@5app/logger' {
    export = Logger;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions