-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: deprecate type attribute (#417)
* fix: deprecate type attribute * fix: deprecate lang=typescript * fix: warn type/lang deprecation logs once per npm process
- Loading branch information
1 parent
b9e9ff7
commit 2632a88
Showing
5 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<template type="text/pug"> | ||
<template lang="pug"> | ||
h1 Hello! | ||
br | ||
input(bind:value="{label}") | ||
br | ||
Nested("{label}") | ||
</template> | ||
|
||
<script type="text/typescript"> | ||
<script lang="ts"> | ||
import Nested from './Nested.svelte' | ||
export let label: string = '' | ||
$: console.log(label) | ||
</script> | ||
|
||
<style type="text/stylus"> | ||
<style lang="stylus"> | ||
h1 | ||
color blue | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters