Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Convert openai-asst-webpage-with-functions-js to TypeScript#300

Open
mcasalaina wants to merge 1 commit intoAzure:mainfrom
mcasalaina:js-to-ts-conversion
Open

Convert openai-asst-webpage-with-functions-js to TypeScript#300
mcasalaina wants to merge 1 commit intoAzure:mainfrom
mcasalaina:js-to-ts-conversion

Conversation

@mcasalaina
Copy link
Copy Markdown

Converts the OpenAI Assistants Webpage project from JavaScript to TypeScript, including updating dependencies and build configurations.

  • Renames and migrates JavaScript files to TypeScript, ensuring type safety and leveraging TypeScript features for better code management.
  • Updates the package.json to include TypeScript-specific dependencies and modifies scripts for Vite, replacing Webpack with a more modern build tool.
  • Introduces a tsconfig.json for TypeScript compiler options and a vite-env.d.ts for Vite environment types, enhancing the development environment.
  • Adjusts the HTML template to reference the new TypeScript entry point and updates the favicon link for consistency.

For more details, open the Copilot Workspace session.

Converts the OpenAI Assistants Webpage project from JavaScript to TypeScript, including updating dependencies and build configurations.

- Renames and migrates JavaScript files to TypeScript, ensuring type safety and leveraging TypeScript features for better code management.
- Updates the `package.json` to include TypeScript-specific dependencies and modifies scripts for Vite, replacing Webpack with a more modern build tool.
- Introduces a `tsconfig.json` for TypeScript compiler options and a `vite-env.d.ts` for Vite environment types, enhancing the development environment.
- Adjusts the HTML template to reference the new TypeScript entry point and updates the favicon link for consistency.


---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Azure/azure-ai-cli?shareId=b91c5c07-f488-46dd-b905-8cc14e0ec2b7).
@mcasalaina mcasalaina requested a review from robch as a code owner May 15, 2024 21:12
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.

1 participant