Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Support TypeScript #8

Merged
merged 2 commits into from
Feb 10, 2021
Merged

Conversation

auguwu
Copy link
Contributor

@auguwu auguwu commented Feb 10, 2021

Adds in TypeScript support

Example:

import Loggaby from 'loggaby';

const logger = new Loggaby<'custom'>({
   levels: [
     {
      name: 'custom'
     }
   ]
});

logger.custom('additional', 'data!');

Copy link
Contributor

@TorchedSammy TorchedSammy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bump the version

@auguwu auguwu requested a review from TorchedSammy February 10, 2021 04:26
@TorchedSammy TorchedSammy merged commit 39bf3e6 into TorchedArchive:master Feb 10, 2021
@auguwu auguwu deleted the typings branch February 10, 2021 04:28
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants