Skip to content

refactor: es6 classes syntax#4

Open
nberlette wants to merge 25 commits intomainfrom
develop
Open

refactor: es6 classes syntax#4
nberlette wants to merge 25 commits intomainfrom
develop

Conversation

@nberlette
Copy link
Copy Markdown
Member

@nberlette nberlette commented Dec 8, 2022

  • fix(types): add missing Primitive type
  • chore: update repo config
  • chore: update hooks
  • feat: update + move tools to _util
  • chore: update dependencies
  • refactor!: full rewrite to class-syntax
  • refactor: assert.ts
  • chore(types): update deno.jsonc
  • types: add missing imports
  • refactor: project style
  • feat!: add is.not negated interface
  • feat(types): typename inference for is()

@nberlette nberlette added the enhancement New feature or request label Dec 8, 2022
@nberlette nberlette self-assigned this Dec 8, 2022
Comment thread is.ts
*
* getTypeName("🦕") // => "string"
* getTypeName(100n) // => "bigint"
* getTypeName({ foo: "bar" }) // => "Object"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Moved the "function" check out of this block to allow for objects of type "AsyncFunction" and "Class" to be identified first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant