mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Deprecate exporting the last import if there is no other exported component
This commit is contained in:
parent
5afb9768c5
commit
a0dd978f8a
10 changed files with 38 additions and 39 deletions
|
@ -11,7 +11,7 @@ use wasm_bindgen::prelude::*;
|
|||
mod wasm_backend;
|
||||
|
||||
slint::slint! {
|
||||
import { MainWindow } from "plotter.slint";
|
||||
export { MainWindow } from "plotter.slint";
|
||||
}
|
||||
|
||||
fn pdf(x: f64, y: f64, a: f64) -> f64 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue