Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import FastifyPluginAsyncJsonSchemaToTs #18

Closed
2 tasks done
QuentinDutot opened this issue Aug 14, 2022 · 2 comments
Closed
2 tasks done

Cannot import FastifyPluginAsyncJsonSchemaToTs #18

QuentinDutot opened this issue Aug 14, 2022 · 2 comments

Comments

@QuentinDutot
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

4.2.0

Plugin version

2.1.0

Node.js version

18.4.0

Operating system

Windows

Operating system version (i.e. 20.04, 11.3, 10)

21H2

Description

The FastifyPluginAsyncJsonSchemaToTs and FastifyPluginCallbackJsonSchemaToTs types added in v2.1.0 are missing in dist/index.d.ts file.

Steps to Reproduce

  1. pnpm i @fastify/type-provider-json-schema-to-ts

  2. import type { FastifyPluginAsyncJsonSchemaToTs } from '@fastify/type-provider-json-schema-to-ts'

=> Module '"@fastify/type-provider-json-schema-to-ts"' has no exported member 'FastifyPluginAsyncJsonSchemaToTs'.

Expected Behavior

No response

@mcollina
Copy link
Member

cc @RafaelGSS

@RafaelGSS
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants