Skip to content

Commit

Permalink
refactor(ast): move custom types .d.ts file (#6931)
Browse files Browse the repository at this point in the history
We have a few manually-defined TS types in `oxc_ast` crate. Move that `.d.ts` file out of `src` folder, and name it more descriptively.
  • Loading branch information
overlookmotel committed Oct 26, 2024
1 parent 9926990 commit fc07458
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion tasks/ast_tools/src/generators/typescript.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::{

use super::define_generator;

const CUSTOM_TYPESCRIPT: &str = include_str!("../../../../crates/oxc_ast/src/ast/types.d.ts");
const CUSTOM_TYPESCRIPT: &str = include_str!("../../../../crates/oxc_ast/custom_types.d.ts");

pub struct TypescriptGenerator;

Expand Down

0 comments on commit fc07458

Please sign in to comment.