Comments (4)
Good question. I've been unable to keep working on the project lately, but I'll try and come up with a suggestion for proper use with TS.
A good starting point would be tutorials about declaring external libs, e.g. this one: https://www.newline.co/@bespoyasov/how-to-declare-missing-types-for-external-libraries--ff45540d
from react-simple-oauth2-login.
I'm working on my own declarations file that I might PR in at some point.
from react-simple-oauth2-login.
@DiefBell Great! I've considered it for a while, and since I've been using TS more and more this year, I second that it'd be really nice to add this!
from react-simple-oauth2-login.
@bhubr would you be up for a TypeScript/Function Components port if I make a PR?
from react-simple-oauth2-login.
Related Issues (20)
- When I added to my project ,occured problem? HOT 1
- Prop for selecting redirect strategy HOT 1
- When using code response, DOMException is silenced HOT 1
- How to specify scopes HOT 1
- Redirect URI is not encoded HOT 3
- Tests don't work anymore 😱 HOT 2
- End-to-end testing HOT 2
- How to handle browsers that don't support popup read / postMessage HOT 1
- Credit original contributors HOT 4
- Support Auth Code + PKCE flow
- Adding additional query params breaks the client id HOT 2
- Cannot resolve dependency './settings-code' at '...\example\client\src\settings-code' HOT 5
- Improve docs & examples HOT 2
- Setup semantic release for auto versioning, packaging / publishing, & changelog HOT 1
- Not working with React 17.0.2 HOT 4
- Headless functionality in hook
- Not working with react 18+ HOT 10
- "The popup was closed for an unexpected reason" popup is still open HOT 1
- onSucess when crossorigin HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-simple-oauth2-login.