Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

🐛 Bug FIX: Updated "types" directory #126

Merged
merged 2 commits into from
Sep 9, 2021
Merged

Conversation

kilinkis
Copy link
Contributor

There is no src directory under the types directory, so the declarations were failing.
This PR points to the correct file.

Related to #111.

kudos to my colleague @mrseanbaines who noticed the path was wrong.

There is no `src` directory under the `types` directory, so the declarations were failing.
This PR points to the correct file.

Related to [segmentio#111](segmentio#111).

kudos to my colleague @mrseanbaines who noticed the path was wrong.
@ItsWendell
Copy link

ItsWendell commented Nov 20, 2020

Perfect timing, just as I was trying to build a customized segment cookie consent in React / TypeScript. 👍 Any tips on how I can get this to work now? I'm trying to create my own definitions file .d.ts, but without success yet.

Apparently the following worked for me: src/types/@segment/consent-manager.d.ts

declare module "@segment/consent-manager" {
  export * from "@segment/consent-manager/types/index";
}

@mantissa7
Copy link

Is there an ETA for when this will get merged? Looks like it's been ready to go for over 9 months now.

@felipe-najson-ntf
Copy link
Contributor

@mantissa7 @kilinkis @ItsWendell Hi everyone! Sorry for the late response.
I will be working to merge this pull-request these days. Thanks for your contribution.

Segment team.

@nd4p90x nd4p90x merged commit 5b37a04 into segmentio:master Sep 9, 2021
@nd4p90x nd4p90x linked an issue Sep 10, 2021 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typescript support
5 participants