S
                                
                                
                                
                                    S copied to clipboard
                            
                            
                            
                        Better type signature for S.root
With the type defined like this, when dispose is provided, TS know it isn't null.