fastify / fastify-type-provider-json-schema-to-ts

A Type Provider for json-schema-to-ts
MIT License
34 stars 8 forks source link

Cannot import FastifyPluginAsyncJsonSchemaToTs #18

Closed QuentinDutot closed 2 years ago

QuentinDutot commented 2 years ago

Prerequisites

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 commented 2 years ago

cc @RafaelGSS

RafaelGSS commented 2 years ago

Fixed https://github.com/fastify/fastify-type-provider-json-schema-to-ts/releases/tag/v2.1.1