mirror of https://github.com/sveltejs/svelte
fix: remove 'implements' from class declaration (#14749)
* fix: remove implements from class declaration * add a smoke testpull/14745/head
parent
e38975eac9
commit
c79b909458
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: remove implements from class declarations
|
@ -0,0 +1,3 @@
|
||||
import { test } from '../../assert';
|
||||
|
||||
export default test({});
|
@ -0,0 +1,5 @@
|
||||
<script lang="ts">
|
||||
// TypeScript syntax should not cause compilation failure
|
||||
interface MyInterface {}
|
||||
class MyClass implements MyInterface {}
|
||||
</script>
|
Loading…
Reference in new issue