Skip to content

Fix tslib being required to run react-turnstile#2

Merged
Le0Developer merged 1 commit intoLe0Developer:mainfrom
zImPatrick:main
Oct 1, 2022
Merged

Fix tslib being required to run react-turnstile#2
Le0Developer merged 1 commit intoLe0Developer:mainfrom
zImPatrick:main

Conversation

@zImPatrick
Copy link
Copy Markdown
Contributor

Currently you also need to install tslib to run react-turnstile, as importHelpers is enabled in tsconfig.json.
This is how the "compiled" version looks like with importHelpers enabled:

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");

Everything should still work while no longer needing to install tslib

@Le0Developer Le0Developer merged commit ca3d36d into Le0Developer:main Oct 1, 2022
@Le0Developer
Copy link
Copy Markdown
Owner

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants