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

Typescript error "Fn::Transform"?: { while tsc --noEmit #42

Closed
JustFly1984 opened this issue Apr 23, 2021 · 2 comments
Closed

Typescript error "Fn::Transform"?: { while tsc --noEmit #42

JustFly1984 opened this issue Apr 23, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@JustFly1984
Copy link

JustFly1984 commented Apr 23, 2021

I'm getting a single typescript error in whole of my project:

yarn run v1.22.10
$ tsc --noEmit
node_modules/@serverless/typescript/index.d.ts:1238:7 - error TS2411: Property '"Fn::Transform"' of type '{ Name: string; Parameters?: { [k: string]: unknown; }; }' is not assignable to string index type '{ Type: string; Properties?: { [k: string]: unknown; }; CreationPolicy?: { [k: string]: unknown; }; DeletionPolicy?: string; DependsOn?: AwsResourceDependsOn; Metadata?: { [k: string]: unknown; }; UpdatePolicy?: { [k: string]: unknown; }; UpdateReplacePolicy?: string; Condition?: string; }'.

1238       "Fn::Transform"?: {
           ~~~~~~~~~~~~~~~


Found 1 error.
@JustFly1984 JustFly1984 changed the title Typescript error while tsc --noEmit Typescript error "Fn::Transform"?: { while tsc --noEmit Apr 23, 2021
@kaioduarte
Copy link

related to #27

@fredericbarthelet
Copy link
Contributor

Closing this in favor of #27

@fredericbarthelet fredericbarthelet added the duplicate This issue or pull request already exists label Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants