Update src/runtime/internal/Component.ts

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
pull/7235/head
ehsan2003 5 years ago committed by GitHub
parent fd18fb3fa1
commit 843c3d4fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -298,7 +298,6 @@ export class SvelteComponent {
* ```ts * ```ts
* component.$set({ answer: 42 }); * component.$set({ answer: 42 });
* ``` * ```
*
*/ */
$set($$props) { $set($$props) {
if (this.$$set && !is_empty($$props)) { if (this.$$set && !is_empty($$props)) {

Loading…
Cancel
Save