nitro icon indicating copy to clipboard operation
nitro copied to clipboard

test: correct type inference for routes

Open danielroe opened this issue 3 years ago โ€ข 0 comments

๐Ÿ”— Linked issue

resolves https://github.com/nuxt/framework/issues/7363, https://github.com/nuxt/framework/issues/8078

โ“ Type of change

  • [x] ๐Ÿงน Chore
  • [ ] ๐Ÿ“– Documentation (updates to the documentation or readme)
  • [x] ๐Ÿž Bug fix (a non-breaking change that fixes an issue)
  • [ ] ๐Ÿ‘Œ Enhancement (improving an existing functionality like performance)
  • [ ] โœจ New feature (a non-breaking change that adds functionality)
  • [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to change)

๐Ÿ“š Description

toMatchTypeOf can be misleading - this updates test for greater strictness. There are a few issues that appear in consequence; I'm marking PR as draft until we can fix them.

๐Ÿ“ Checklist

  • [ ] I have linked an issue or discussion.
  • [ ] I have updated the documentation accordingly.

danielroe avatar Sep 19 '22 14:09 danielroe