Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: typescript integration in tutorials.js file #281

Closed

Conversation

niladrix719
Copy link
Member

Fixes #280

Describe the changes you have made in this PR -

  1. added Driver.Step interface for the objects
  2. used ? operator for type safety
  3. added as HTMLElement when working with html elements to access the properties
  4. localStorage.setItem('tutorials_tour_done', 'true') added true as String here because localStorage takes both parameter as String

Copy link

netlify bot commented Mar 14, 2024

Deploy Preview for circuitverse ready!

Name Link
🔨 Latest commit 8238385
🔍 Latest deploy log https://app.netlify.com/sites/circuitverse/deploys/65f30258d8c15b00082d8aae
😎 Deploy Preview https://deploy-preview-281--circuitverse.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@niladrix719 niladrix719 closed this Aug 7, 2024
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.

feat: conversion to typescript for tutorials.js file
2 participants