Skip to content

Conversation

@crebro
Copy link
Contributor

@crebro crebro commented Feb 11, 2022

Changes proposed

  • Added snippet for getInitialProps function in next.js typescript
  • Using TM_FILENAME_BASE instead of TM_FILENAME with gives the base of the filename, get ( Component ) and not ( Component.js or Component.jsx )

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed. ( Not tests available :P )
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

@avneesh0612 avneesh0612 merged commit 16b4c49 into avneesh0612:main Feb 11, 2022
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.

3 participants