Changelog: swc v1.1.54


Usage of static property in decorators (#824)#

import { Debounce } from "lodash-decorators";
class Person {
private static debounceTime: number = 500 as const;
save() {
console.log("Hello World!");
const p = new Person();;

Previously, the code above throws an error if it's compiled with swc and works if it's compiled with tsc. The bug is now fixed, and swc can compile the code correctly.