typescript-book
typescript-book copied to clipboard
Crazy interface exmaple does not compile
Hi Basarat, I notice that on the interfaces.md file the interface crazy could not be implemented in a class (please check here: https://github.com/Microsoft/TypeScript/issues/8917) and I made a fix with some text to explain better the pattern. I also fixed the constructor to not return any value as it seems not to be possible. Please check here: https://github.com/Microsoft/TypeScript/issues/11588
I tried to make a pull request but it seems I got no permissions.
I tried to make a pull request but it seems I got no permissions.
You can make a PR. There is no way to block PRs on github so you do have permissions :rose:
I used this command to push the commit: git push --set-upstream origin pjustino-interface-fix
I got this error: remote: Permission to basarat/typescript-book.git denied to pjustino. fatal: unable to access 'https://github.com/basarat/typescript-book.git/': The requested URL returned error: 403
Probably I'm doing something wrong can you please help
unable to access 'https://github.com/basarat/typescript-book.git/': T
Your origin should be your fork :rose:
thanks for the help. PR done