This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Description
Given
// blah.rs
pub struct Parser<P>(pub P);
// lib.rs
use blah::Parser as ParserTrait;
Renaming ParserTrait to say Combo gives
// blah.rs
pub struct Combo<P>(pub P);
// lib.rs
use blah::Combo as Combo;
Compare that to
// blah.ts
export const blah = () => true;
export const what = () => false;
// index.ts
import { what as why } from "./blah.ts";
which turns into
export const blah = () => true;
export const what = () => false;
// index.ts
import { what as how } from "./blah.ts";
This is kind of annoying. What gives? (Also, feel free to make the title more descriptive)
EDIT: Checklist!: